#ifndef RBN_CELL_CONTROLLER_H
#define RBN_CELL_CONTROLLER_H

#include "../../ai/rbn/Rbn.h"
using RBN::Rbn;

#include "CellController.h"

class RbnCellController : public CellController {
public:
	/* ctor */
	RbnCellController(Rbn* rbn);

	/* dtor */
	~RbnCellController();

	/* update */
	void update();

	/* get output size */
	int getOutputSize() const;

	/* get output locations */
	double const* getOutputAddress(int index) const;

private:
	Rbn*    _rbn;     /* RBN */
	double* _outputs; /* outputs */
};

#endif // RBN_CELL_CONTROLLER_H

